HighContrast: Stop hovered emoji from disappearing
authorDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 00:42:31 +0000 (01:42 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 00:42:56 +0000 (01:42 +0100)
Otherwise emoji are invisible in the normal variant & nearly in Inverse.

https://bugzilla.gnome.org/show_bug.cgi?id=787279

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index 46a953aaefc0411d1fe4de4d95aa43cea72678b5..ff64bda862f51eb2958db488394eb3c13239044f 100644 (file)
@@ -3443,5 +3443,6 @@ button.emoji-section:backdrop { /* Dodge stuff inherited from backdrop button */
 
   :hover {
     background: $selected_bg_color;
+    color: $selected_fg_color;
   }
 }
index be87a53f6e162d1b065d5715bcda0dc4d8c66986..2aae8bd12c46a87e5f8ffb319d2aeb3d27cef148 100644 (file)
@@ -1598,4 +1598,4 @@ button.emoji-section:checked label, button.emoji-section:backdrop:checked label
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #ddd; }
+.emoji :hover { background: #ddd; color: #000; }
index 79374a85a2bfd428225628b1f89f0ff29ec85cee..5dc11e541cff13f92a3159be1614491fac0ac4b2 100644 (file)
@@ -1604,4 +1604,4 @@ button.emoji-section:checked label, button.emoji-section:backdrop:checked label
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #000; }
+.emoji :hover { background: #000; color: #fff; }